package net.ib.mtalk.database.task;

import net.ib.mtalk.database.helper.InboxDatabaseHelper;
import android.content.Context;
import android.os.Handler;

public class DBcheckDeleteViewTask extends AsyncClientTask {

	private long mClientViewUuidMsb;
	private long mClientViewUuidLsb;
	
	public DBcheckDeleteViewTask(Context context, Handler uiHandler, long clientViewUuidMsb, long clientViewUuidLsb) {
		super(context, uiHandler);
		this.mClientViewUuidMsb = clientViewUuidMsb;
		this.mClientViewUuidLsb = clientViewUuidLsb;
	}

	@Override
	protected void onPostExecute(int resultCode, Object sentObject,
			Object receivedObject) {
		InboxDatabaseHelper.disableViewDelete(mContext, mClientViewUuidMsb, mClientViewUuidLsb);
	}
}
